package com.fzb.forum4j.util;


import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.HanyuPinyinToneType;

public class PyUtil{
	
	public static void main(String[] args) {
		
		HanyuPinyinOutputFormat out=new HanyuPinyinOutputFormat();
		out.setToneType(HanyuPinyinToneType.WITHOUT_TONE);
		String p=PinyinHelper.toHanyuPinyinString("小春", out, "");
		System.out.println(p);
	}

}